Make XEN_DOMCTL_destroydomain hypercall preemptible, in a way that is
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 31 Aug 2007 14:44:38 +0000 (15:44 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 31 Aug 2007 14:44:38 +0000 (15:44 +0100)
commite815cb4b18f3261a4e97297aabbf73d9b3a27244
tree09c8e369c6b3d028a13372c764e7b8e17be06cc8
parent0269e41669edc4998b37a17202a0f87346ed2df7
Make XEN_DOMCTL_destroydomain hypercall preemptible, in a way that is
visible to the caller (via -EAGAIN return code).

This prevents softlockup in dom0 kernel, due to the hypercall taking
too long to execute on very large (multi-multi-gigabyte) domains.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/ia64/xen/domain.c
xen/arch/powerpc/domain.c
xen/arch/x86/domain.c
xen/common/domain.c
xen/common/domctl.c
xen/include/asm-ia64/domain.h
xen/include/xen/domain.h
xen/include/xen/sched.h